package com.atmilan.quartz.sync.pull.daigo.converter;

import java.util.List;

import org.mapstruct.Mapper;

import com.atmilan.quartz.model.dto.daigo.DaigoProductResDTO;
import com.atmilan.quartz.model.entity.daigo.DaigoProductSku;
import com.atmilan.quartz.model.entity.daigo.DaigoProductSkuMerged;

/**
 * @author hupeng
 */
@Mapper(componentModel = "spring")
public interface BaseDaigoSkuConverter {

    public abstract DaigoProductSku toModel(DaigoProductResDTO.ProductSku sku);

    public abstract List<DaigoProductSku> toModelList(List<DaigoProductResDTO.ProductSku> skus);

    public abstract DaigoProductSkuMerged toMergedModel(DaigoProductSku sku);

    public abstract List<DaigoProductSkuMerged> toSkuMergedModelList(List<DaigoProductSku> skuList);
}
